<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./reset.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/c/font_3838530_0onc4nr4l3l.css">
    <style>
        
        body {
            background: rgba(0, 0, 0, .5);
        }

        .go {
            width: 400px;
            height: 300px;
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            margin: auto;
            background-color: aliceblue;
            z-index: 12;
        }


        .in {
            position: absolute;
            border-radius: 8px;
            background-color: #00aeec;
            width: 194px;
            height: 40px;
            cursor: pointer;
            color: #fff;
            border: 0;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .code {
            width: 320px;
            height: 200px;
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            margin: auto;
            background-color: #fff;
            padding: 8px;
            font-size: 16px;
            transition: .4s;
            opacity: 0;
            z-index: 11;
        }

        .code .img {
            margin: 10px 0;
            width: 320px;
            height: 100px;
            /* background: url(./1.jpg) no-repeat; */
            /* background: url(./2.png) no-repeat;
            background: url(./3.png) no-repeat;
            background: url(./4.png) no-repeat; */
            /* background: url(./5.png) no-repeat; */
            /* background-size: 100% 100%; */
            transition: .4s;
            position: relative;
        }

        .foot {
            height: 15%;
            display: flex;
            justify-content: space-between;
        }

        .foot .left span {
            margin-right: 15px;
            cursor: pointer;
            font-size: 16px;
            line-height: 50px;
        }

        .foot .right {
            width: 50px;
            height: 30px;
            border: 0;
            background-color: #00aeec;
            cursor: pointer;
            color: #fff;
            margin-top: 10px;

        }

        .bg {
            width: 100%;
            height: 1000px;
            position: relative;
        }

        .head {
            text-align: center;
        }

        .text {
            color: #00aeec;
        }

        .img span {
            font-size: 40px;
            color: gray;
            font-weight: bold;
            position: absolute;
            z-index: 1;
            cursor: default;
            line-height: 40px;
        }

        .img .radio {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: skyblue;
            color: #fff;
            text-align: center;
            line-height: 20px;
            position: absolute;
            z-index: 99;
            border: 2px solid #fff;
            user-select: none;

        }


        .good {
            width: 320px;
            /* height: 40px; */
            height: 0;
            background-color: rgba(213, 255, 244);
            position: absolute;
            z-index: 1000;
            /* transform: translateY(-50px); */
            transition: .6s;
            text-align: center;
            font-size: 18px;
            line-height: 40px;
        }
        .del{
            user-select: none;
        }
        .iconfont{
            user-select: none;
        }

        /* 验证成功后的弹框 */
        .over{
            color: green;
            height: 40px;
            transform: translateY(-40px);
            transition: .4s;
        }
        /* 验证失败后的弹窗 */
        .out{
            color: red;
            height: 40px;
            transform: translateY(-40px);
            transition: .4s;
        }
        /* 插入的这个盒子 */
        .space{
            width: 100%;
            height: 100%;
        }


    </style>
</head>

<body>
    <div class="go">
        <button class="in">登录</button>
    </div>

    <div class="bg">
        <div class="code">
            <div class="head">
                请依次点击：<span class="text"></span>
                <div class="img">
                </div>

                <div class="good"></div>

                <div class="foot">
                    <div class="left">
                        <span class="del">X</span>
                        <span class="iconfont icon-shuaxin"></span>
                    </div>
                    <button class="right">
                        确认
                    </button>
                </div>
            </div>
        </div>
    </div>


    <script src="./图文验证4.0.js">
      

    </script>
</body>

</html>